package com.zy.xuanwo.utils;

import com.google.gson.Gson;

/**
 * Created by Caelan on 2016/6/15.
 * Contact: caelan@foxmail.com
 * Website: caelan.info
 */
public class GsonUtils {

    public static <T> T getPerson(String jsonData, Class<T> aClass) {

        T t = new Gson().fromJson(jsonData, aClass);
        return t;

    }
}
